﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Scheduling;

namespace UnitTests
{
    [TestClass]
    public class SchedulerTests
    {
        [TestMethod]
        public void TimeSpecCreationTests()
        {
            TimeSpec spec1 = new TimeSpec("8-10");

            TimeSpec spec2 = new TimeSpec("(8-10)");

            TimeSpec spec3 = new TimeSpec("(8-10]");

            TimeSpec spec4 = new TimeSpec("[8-10)");

            TimeSpec spec5 = new TimeSpec("[8-10]");

            TimeSpec spec6 = new TimeSpec("2008,2009,2010");

            TimeSpec spec7 = new TimeSpec(">23");

            TimeSpec spec8 = new TimeSpec("<6");
        }
    }
}
